To install Trilium on your desktop, follow these steps:

  1. Download the Latest Release: Obtain the appropriate binary release for your operating system from the latest release page on GitHub.
  2. Extract the Package: Unzip the downloaded package to a location of your choice.
  3. Run the Application: Launch Trilium by executing the trilium executable found within the unzipped folder.

Installing from Flathub

On Linux, Trilium is also available on Flathub, for both x86_64 and ARM (aarch64). Install it from your software center (e.g. GNOME Software or KDE Discover), or from a terminal:

flatpak install flathub org.triliumnotes.Trilium

Updates arrive through the software center or flatpak update, like any other Flatpak.

The Flathub version runs in a sandbox and keeps its data directory in ~/.var/app/org.triliumnotes.Trilium/data/trilium-data. It cannot see the data directory of a .deb, .rpm, AppImage or .zip installation (~/.local/share/trilium-data), so it starts with an empty database. To bring existing notes over:

  1. Close Trilium, in both the old installation and the Flatpak.

  2. Copy the old data directory into the sandbox:

    mkdir -p ~/.var/app/org.triliumnotes.Trilium/data
    cp -a ~/.local/share/trilium-data ~/.var/app/org.triliumnotes.Trilium/data/
  3. Start the Flatpak version.

If ~/.var/app/org.triliumnotes.Trilium/data/trilium-data already exists because the Flatpak version was started before, remove or rename it first.

Startup Scripts

Trilium offers various startup scripts to customize your experience:

Synchronization

For Trilium desktop users who wish to synchronize their data with a server instance, refer to the Synchronization guide for detailed instructions.